<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>首页</title>
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/首页.css">
</head>

<body>
    <div id="allbox">
        <h2>首页</h2>
        <div id="box">
            <div id="left">
                <div id="kjfs">
                    <p>快捷方式</p>
                    <ul>
                        <li>
                            <div></div>
                            <span>主页一</span>
                        </li>
                        <li>
                            <div></div>
                            <span>主页二</span>
                        </li>
                        <li>
                            <div></div>
                            <span>你猜</span>
                        </li>
                        <li>
                            <div id="xiesha"></div>
                            <span>写啥</span>
                        </li>
                        <li>
                            <div id="nishuo"></div>
                            <span>你说吧</span>
                        </li>
                        <li>
                            <div id="shezhi"></div>
                            <span>设置</span>
                        </li>
                    </ul>
                </div>
                <div id="dbsx">
                    <p>待办事项</p>
                    <ul>
                        <li>
                            <span>学生管理</span>
                            <div id="xsgl">66</div>
                        </li>
                        <li>
                            <span>院校管理</span>
                            <div id="yxgl">166</div>
                        </li>
                        <li>
                            <span>待定...</span>
                            <div>666</div>
                        </li>
                        <li>
                            <span>待定...</span>
                            <div>66666</div>
                        </li>
                    </ul>
                </div>
                <div id="sjgl">
                    <p>数据概览
                        <span class="span1" id="span1"></span>
                        <span></span>
                        <span></span>
                    </p>
                    <div id="main1"></div>
                    <div id="main2"></div>
                    <div id="main3"></div>
                </div>
            </div>
            <div id="right">
                <div id="zjjf">
                    <p>最近缴费</p>
                    <table border="1">
                        <tr>
                            <th> &nbsp;&nbsp;&nbsp;&nbsp;</th>
                            <th>姓名</th>
                            <th>毕业院校</th>
                            <th>电话</th>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>王小虎</td>
                            <td>清华大学</td>
                            <td>16816899168</td>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>王小虎</td>
                            <td>清华大学</td>
                            <td>16816899168</td>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>王小虎</td>
                            <td>清华大学</td>
                            <td>16816899168</td>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>王小虎</td>
                            <td>清华大学</td>
                            <td>16816899168</td>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>王小虎</td>
                            <td>清华大学</td>
                            <td>16816899168</td>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>王小虎</td>
                            <td>清华大学</td>
                            <td>16816899168</td>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>王小虎</td>
                            <td>清华大学</td>
                            <td>16816899168</td>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>王小虎</td>
                            <td>清华大学</td>
                            <td>16816899168</td>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>王小虎</td>
                            <td>清华大学</td>
                            <td>16816899168</td>
                        </tr>
                        <tr>
                            <td>1</td>
                            <td>王小虎</td>
                            <td>清华大学</td>
                            <td>16816899168</td>
                        </tr>
                    </table>
                </div>
                <div id="zxdt">
                    <p>最新动态</p>
                    <div id="yi">一直以来, 量子矩阵OA就是整个OA界最神秘, 最强大的OA产品. 强大到什么程度呢? 开发者都说不上来...^_^O(∩_∩)O哈哈~</div>
                    <div>喜报: 量子矩阵获得教育部高等教育司2019年度首批产学合作协同育人项目单位</div>
                    <div>喜报: 量子矩阵获得教育部高等教育司2019年度首批产学合作协同育人项目单位</div>
                    <div>喜报: 量子矩阵获得教育部高等教育司2019年度首批产学合作协同育人项目单位</div>
                </div>
            </div>
        </div>
    </div>
</body>

</html>
<script src="js/jquery-3.4.1.js"></script>
<script src="js/echarts.js"></script>
<script src="js/首页.js"></script>
<script>
    // 请求数据, 并展示到当前页面中
    var homeUrl = 'http://192.168.3.27:9999/oaSystem/home';
    $.ajax({
        url: homeUrl,
        type: 'post',
        dataType: 'json',
        data: {
            empId: '10001',
            moduleId: '1',
        },
        success: function (data) {
            console.log(data);
            $("#xsgl").html(data.result);
        },
        error: function (xhr, errorInfo) {
            console.log('ajax请求失败');
        }
    });
    $.ajax({
        url: homeUrl,
        type: 'post',
        dataType: 'json',
        data: {
            empId: '10001',
            moduleId: '2',
        },
        success: function (data) {
            console.log(data);
            $("#yxgl").html(data.result);
        },
        error: function (xhr, errorInfo) {
            console.log('ajax请求失败');
        }
    });

</script>